/*
 * NervusChainArray.h
 *
 *  Created on: Oct 25, 2017
 *      Author: david
 */

#ifndef NERVUSCHAINARRAY_H_
#define NERVUSCHAINARRAY_H_

#include "JuliaNervusChain.h"

class NervusChainArray {
public:
	NervusChainArray(Complex defaultNervusVaule);
	virtual ~NervusChainArray();

	void SetChainParam( int chainIdx, int nTargetIdx, JuliaChainDefine& cDef );

	bool RunCase( CTrainingCase* pCase );
	bool ProcessSignal( DigitalSignal input );

	DigitalSignal GetResult( void );

private:
	JuliaNervusChain *m_chain[NERVUS_CHAIN_COUNT];
	DigitalSignal m_Result;
};

#endif /* NERVUSCHAINARRAY_H_ */
